package 注解开发.main.java.com.itheima.dao.impl;

import com.itheima.dao.BookDao;
//import org.springframework.stereotype.Component;
//import org.springframework.stereotype.Controller;
//import org.springframework.stereotype.Repository;
//@Component定义bean
//@Component("bookDao")
//@Repository：@Component衍生注解
//给组件定义名称就可以使用名称来获取bean，没有定义就可以通过类型来获取
//@Repository("bookDao")
public class BookDaoImpl implements BookDao {
    public void save() {
        System.out.println("book dao save ...");
    }

}
